﻿using System.ComponentModel.DataAnnotations;

namespace STF.Blog.WebApp.Areas.ForumManage.Models.Login
{
    public class SignInViewModel
    {
        //[Required(ErrorMessage ="{0}不能为空")]
        //[Display(Name ="账号")]
        //public string Account { get; set; }

        [Required(ErrorMessage = "{0}不能为空")]
        [EmailAddress]
        [Display(Name = "邮箱地址")]
        public string Email { get; set; }

        [Required(ErrorMessage ="{0}不能为空")]
        [DataType(DataType.Password)]
        [Display(Name = "密码")]
        public string Pwd { get; set; }
    }
}
